package com.zemu.s1707tzf.controller;

import com.zemu.s1707tzf.service.StuInterface;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

@Controller
public class StuconTroller {

    @Autowired
    StuInterface sit;
    @RequestMapping("a")
    public String  qz(Map map){

        List list=sit.queryAll();
        map.put("list", list);

        return "Test.html";
    }

}


